# -*- coding: utf-8 -*-
# @Author: Cursor
# @Date: 2025-01-15
# @Last Modified by: Tim Liu
# @Last Modified time: 2025-01-15

from typing import Optional
from pydantic import BaseModel, Field

class SchemaClassifier(BaseModel):
    """Schema for content."""
    schema_name: str = Field(description="The schema name of content")
    confidence: Optional[float] = Field(
        default=None, description="Confidence score of content matching schema, from 0.0 to 1.0"
    )
